package edu.jd.movieplatform.info.screen;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ScreenDto {


    private Integer mov_id;
    private Integer cnm_id;
    private Integer cnm_hall_id;
    private Date screen_time;
    private Float price;

    public Integer getMov_id() {
        return mov_id;
    }

    public void setMov_id(Integer mov_id) {
        this.mov_id = mov_id;
    }

    public Integer getCnm_id() {
        return cnm_id;
    }

    public void setCnm_id(Integer cnm_id) {
        this.cnm_id = cnm_id;
    }

    public Integer getCnm_hall_id() {
        return cnm_hall_id;
    }

    public void setCnm_hall_id(Integer cnm_hall_id) {
        this.cnm_hall_id = cnm_hall_id;
    }

    @DateTimeFormat( pattern = "yyyy-MM-dd HH:MM:SS" )
    public Date getScreen_time() {
        return screen_time;
    }

    @DateTimeFormat( pattern = "yyyy-MM-dd HH:MM:SS" )
    public void setScreen_time(Date screen_time) {
        this.screen_time = screen_time;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }
}
